package com.zwj.design.creating.absfactory.factories;

import com.zwj.design.creating.absfactory.buttons.Button;
import com.zwj.design.creating.absfactory.checkboxes.Checkbox;

/**
 * 抽象工厂
 * @author 张文接
 * @version 1.0
 * @createTime 2024/3/13 15:02
 */
public interface GUIFactory {
    /**
     * 实例化抽象按钮
     * @return 抽象按钮
     */
    Button createButton();

    /**
     * 实例化抽象复选框
     * @return 抽象复选框
     */
    Checkbox createCheckbox();
}
